package cn.edu.imau.zy.examination.domain;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import cn.edu.imau.zy.common.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.io.Serializable;
import java.util.*;
import java.math.BigDecimal;
import cn.edu.imau.zy.common.core.domain.BaseEntity;

/**
 * 考试成绩对象 el_fraction
 * 
 * @author xsc
 * @date 2021-08-10
 */

@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("el_fraction")
public class ElFraction implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 用户id */
    @Excel(name = "用户id")
    private String userId;

    /** 考试id */
    @Excel(name = "考试id")
    private String examId;

    /** 班级id */
    @Excel(name = "班级id")
    private String classesId;

    /** 考试分数 */
    @Excel(name = "考试分数")
    private Integer fraction;

    /** 考试状态  0：未参加考试 1：参加考试  */
    @Excel(name = "考试状态  0：未参加考试 1：参加考试 ")
    private Integer state;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    // 选项id
    @TableField(exist = false)
    private List<List<String>> anId;

    @TableField(exist = false)
    private List<List<ElQuAnswer>> quAnswerListt = new ArrayList<>();

    @TableField(exist = false)
    private Map<String, Object> params = new HashMap<>();

}
